package com.nuanshui.heatedloan.extension.interceptor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;


/**
 * 注册用户的拦截器
 * 
 * @author 郭昊
 * 
 */
public class AccountAuthInterceptor extends HandlerInterceptorAdapter {

	@Override
	public boolean preHandle(final HttpServletRequest request,
			final HttpServletResponse response, final Object handler)
			throws Exception {
		String url = request.getRequestURI();
		final HttpServletRequest hRequest = request;
		if (!url.endsWith("login") && !url.endsWith("register")) {
		}
		return super.preHandle(request, response, handler);
	}
}
